package com.lixin.web.webSocket;

import com.lixin.entity.GroupChatMessage;
import com.lixin.entity.GroupInfo;
import com.lixin.entity.Messages;
import com.lixin.model.request.JoinGroupRequest;
import com.lixin.model.request.ShareGroupRequest;
import com.lixin.model.response.Response;

/**
 * Description:
 * Copyright:   Copyright (c)2023
 * Company:     sci
 *
 * @author: 张李鑫
 * @version: 1.0
 * Create at:   2023-08-06 17:16:12
 * <p>
 * Modification History:
 * Date         Author      Version     Description
 * ------------------------------------------------------------------
 * 2023-08-06     张李鑫                     1.0         1.0 Version
 */
public interface ChatManager extends WebSocketManager {

    Response<Object> sendMessageToUser(Messages messages);

    Response<Object> deleteGroup(Integer groupId);

    Response<Object> sendGroupMessage(GroupChatMessage groupChatMessage);

    Response<GroupInfo> createGroupChat();

    Response<String> shareGroup(ShareGroupRequest shareGroupRequest);

    Response<Object> joinGroup(JoinGroupRequest joinCode);
}
